home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Environments / SmallEiffel 0.3.3 / SmallEiffel PPC / lib_show / animal / sample3.e < prev   
Encoding:
Text File  |  1996-06-13  |  478 b   |  28 lines  |  [TEXT/EDIT]

  1. -- Part of SmallEiffel -- Read DISCLAIMER file -- Copyright (C) 
  2. -- Dominique COLNET and Suzanne COLLIN -- colnet@loria.fr
  3. --
  4. class SAMPLE3
  5.    
  6. creation {ANY}
  7.    make
  8.    
  9. feature {ANY}
  10.    
  11.    make is
  12.       local
  13.      chat1, chat2: CHAT;
  14.      t_chat: ARRAY[CHAT];
  15.      medor: CHIEN;
  16.      t_chien: ARRAY[CHIEN];
  17.       do
  18.      !!chat1;
  19.      !!chat2;
  20.      t_chat := <<chat1,chat2>>;
  21.      t_chat.item(1).crier;
  22.      !!medor;
  23.      t_chien := <<medor,medor>>;
  24.      t_chien.item(1).crier;
  25.       end;
  26.    
  27. end -- SAMPLE3
  28.